var statnames = {
	'ac': 'defense',
	'ac-miss': 'armorclassvsmissile',
	'ac-hth': 'armorclassvshth',
	'red-dmg': 'normaldamagereduction',
	'red-dmg%': 'damageresist',
	'ac%': 'enhanceddefense',
	'red-mag': 'magicdamagereduction',
	'str': 'strength',
	'dex': 'dexterity',
	'vit': 'vitality',
	'enr': 'energy',
	'mana': 'maxmana',
	'mana%': 'itemmaxmanapercent',
	'hp': 'maxhp',
	'hp%': 'itemmaxhppercent',
	'att': 'tohit',
	'block': 'toblock',
	'cold-min': 'coldmindam',
	'cold-max': 'coldmaxdam',
	'cold-len': 'coldlength',
	'fire-min': 'firemindam',
	'fire-max': 'firemaxdam',
	'ltng-min': 'lightmindam',
	'ltng-max': 'lightmaxdam',
	'pois-min': 'poisonmindam',
	'pois-max': 'poisonmaxdam',
	'pois-len': 'poisonlength',
	'dmg-min': 'mindamage',
	'dmg-max': 'maxdamage',
	'dmg%': 'enhanceddamage',
	'dmg-to-mana': 'itemdamagetomana',
	'res-fire': 'fireresist',
	'res-fire-max': 'maxfireresist',
	'res-ltng': 'lightresist',
	'res-ltng-max': 'maxlightresist',
	'res-cold': 'coldresist',
	'res-cold-max': 'maxcoldresist',
	'res-mag': 'magicresist',
	'res-mag-max': 'maxmagicresist',
	'res-pois': 'poisonresist',
	'res-pois-max': 'maxpoisonresist',
	'res-all': 'fireresist',
	'res-all-max': 'maxfireresist',
	'abs-fire%': 'itemabsorbfirepercent',
	'abs-fire': 'itemabsorbfire',
	'abs-ltng%': 'itemabsorblightpercent',
	'abs-ltng': 'itemabsorblight',
	'abs-mag%': 'itemabsorbmagicpercent',
	'abs-mag': 'itemabsorbmagic',
	'abs-cold%': 'itemabsorbcoldpercent',
	'abs-cold': 'itemabsorbcold',
	'dur': 'maxdurability',
	'dur%': 'itemmaxdurabilitypercent',
	'regen': 'hpregen',
	'thorns': 'itemattackertakesdamage',
	'swing1': 'ias',
	'swing2': 'ias',
	'swing3': 'ias',
	'gold%': 'itemgoldbonus',
	'mag%': 'itemmagicbonus',
	'knock': 'itemknockback',
	'regen-stam': 'staminarecoverybonus',
	'regen-mana': 'manarecoverybonus',
	'stam': 'maxstamina',
	'time': 'itemtimeduration',
	'manasteal': 'manaleech',
	'lifesteal': 'lifeleech',
	'ama': 'amazonskills',
	'pal': 'paladinskills',
	'nec': 'necromancerskills',
	'sor': 'sorceressskills',
	'bar': 'barbarianskills',
	'herb': 'itemdoubleherbduration',
	'light': 'itemlightradius',
	'color': 'itemlightcolor',
	'ease': 'itemreqpercent',
	'move1': 'frw',
	'move2': 'frw',
	'move3': 'frw',
	'balance1': 'fhr',
	'balance2': 'fhr',
	'balance3': 'fhr',
	'block1': 'fbr',
	'block2': 'fbr',
	'block3': 'fbr',
	'cast1': 'fcr',
	'cast2': 'fcr',
	'cast3': 'fcr',
	'res-pois-len': 'itempoisonlengthresist',
	'dmg': 'itemnormaldamage',
	'howl': 'itemhowl',
	'stupidity': 'itemstupidity',
	'ignore-ac': 'itemignoretargetac',
	'reduce-ac': 'itemfractionaltargetac',
	'noheal': 'itempreventheal',
	'half-freeze': 'itemhalffreezeduration',
	'att%': 'itemtohitpercent',
	'dmg-ac': 'itemdamagetargetac',
	'dmg-demon': 'itemdemondamagepercent',
	'dmg-undead': 'itemundeaddamagepercent',
	'att-demon': 'itemdemontohit',
	'att-undead': 'itemundeadtohit',
	'throw': 'itemthrowable',
	'fireskill': 'itemelemskill',
	'allskills': 'itemallskills',
	'light-thorns': 'itemattackertakeslightdamage',
	'freeze': 'itemfreeze',
	'openwounds': 'itemopenwounds',
	'crush': 'itemcrushingblow',
	'kick': 'itemkickdamage',
	'mana-kill': 'itemmanaafterkill',
	'demon-heal': 'itemhealafterdemonkill',
	'bloody': 'itemextrablood',
	'deadly': 'itemdeadlystrike',
	'slow': 'itemslow',
	'nofreeze': 'itemcannotbefrozen',
	'stamdrain': 'itemstaminadrainpct',
	'reanimate': 'itemreanimate',
	'pierce': 'itempierce',
	'magicarrow': 'itemmagicarrow',
	'explosivearrow': 'itemexplosivearrow',
	'dru': 'druidskills',
	'ass': 'assassinskills',
	'skill': 'itemsingleskill',
	'skilltab': 'itemaddskilltab',
	'aura': 'itemaura',
	'att-skill': 'itemskillonattack',
	'hit-skill': 'itemskillonhit',
	'gethit-skill': 'itemskillongethit',
	'gembonus': '0',
	'regen-dur': '0',
	'fire-fx': '0',
	'ltng-fx': '0',
	'sock': 'sockets',
	'dmg-fire': 'firemindam',
	'dmg-ltng': 'lightmindam',
	'dmg-mag': 'magicmindam',
	'dmg-cold': 'coldmindam',
	'dmg-pois': 'poisonmindam',
	'dmg-throw': 'itemthrowmindamage',
	'dmg-norm': 'mindamage',
	'ac/lvl': 'itemarmorperlevel',
	'ac%/lvl': 'itemarmorpercentperlevel',
	'hp/lvl': 'itemhpperlevel',
	'mana/lvl': 'itemmanaperlevel',
	'dmg/lvl': 'itemmaxdamageperlevel',
	'dmg%/lvl': 'itemmaxdamagepercentperlevel',
	'str/lvl': 'itemstrengthperlevel',
	'dex/lvl': 'itemdexterityperlevel',
	'enr/lvl': 'itemenergyperlevel',
	'vit/lvl': 'itemvitalityperlevel',
	'att/lvl': 'itemtohitperlevel',
	'att%/lvl': 'itemtohitpercentperlevel',
	'dmg-cold/lvl': 'itemcolddamagemaxperlevel',
	'dmg-fire/lvl': 'itemfiredamagemaxperlevel',
	'dmg-ltng/lvl': 'itemltngdamagemaxperlevel',
	'dmg-pois/lvl': 'itempoisdamagemaxperlevel',
	'res-cold/lvl': 'itemresistcoldperlevel',
	'res-fire/lvl': 'itemresistfireperlevel',
	'res-ltng/lvl': 'itemresistltngperlevel',
	'res-pois/lvl': 'itemresistpoisperlevel',
	'abs-cold/lvl': 'itemabsorbcoldperlevel',
	'abs-fire/lvl': 'itemabsorbfireperlevel',
	'abs-ltng/lvl': 'itemabsorbltngperlevel',
	'abs-pois/lvl': 'itemabsorbpoisperlevel',
	'thorns/lvl': 'itemthornsperlevel',
	'gold%/lvl': 'itemfindgoldperlevel',
	'mag%/lvl': 'itemfindmagicperlevel',
	'regen-stam/lvl': 'itemregenstaminaperlevel',
	'stam/lvl': 'itemstaminaperlevel',
	'dmg-dem/lvl': 'itemdamagedemonperlevel',
	'dmg-und/lvl': 'itemdamageundeadperlevel',
	'att-dem/lvl': 'itemtohitdemonperlevel',
	'att-und/lvl': 'itemtohitundeadperlevel',
	'crush/lvl': 'itemcrushingblowperlevel',
	'wounds/lvl': 'itemopenwoundsperlevel',
	'kick/lvl': 'itemkickdamageperlevel',
	'deadly/lvl': 'itemdeadlystrikeperlevel',
	'gems%/lvl': '0',
	'rep-dur': 'itemreplenishdurability',
	'rep-quant': 'itemreplenishquantity',
	'stack': 'itemextrastack',
	'item%': '0',
	'dmg-slash': '0',
	'dmg-slash%': '0',
	'dmg-crush': '0',
	'dmg-crush%': '0',
	'dmg-thrust': '0',
	'dmg-thrust%': '0',
	'abs-slash': '0',
	'abs-crush': '0',
	'abs-thrust': '0',
	'abs-slash%': '0',
	'abs-crush%': '0',
	'abs-thrust%': '0',
	'ac/time': 'itemarmorbytime',
	'ac%/time': 'itemarmorpercentbytime',
	'hp/time': 'itemhpbytime',
	'mana/time': 'itemmanabytime',
	'dmg/time': 'itemmaxdamagebytime',
	'dmg%/time': 'itemmaxdamagepercentbytime',
	'str/time': 'itemstrengthbytime',
	'dex/time': 'itemdexteritybytime',
	'enr/time': 'itemenergybytime',
	'vit/time': 'itemvitalitybytime',
	'att/time': 'itemtohitbytime',
	'att%/time': 'itemtohitpercentbytime',
	'dmg-cold/time': 'itemcolddamagemaxbytime',
	'dmg-fire/time': 'itemfiredamagemaxbytime',
	'dmg-ltng/time': 'itemltngdamagemaxbytime',
	'dmg-pois/time': 'itempoisdamagemaxbytime',
	'res-cold/time': 'itemresistcoldbytime',
	'res-fire/time': 'itemresistfirebytime',
	'res-ltng/time': 'itemresistltngbytime',
	'res-pois/time': 'itemresistpoisbytime',
	'abs-cold/time': 'itemabsorbcoldbytime',
	'abs-fire/time': 'itemabsorbfirebytime',
	'abs-ltng/time': 'itemabsorbltngbytime',
	'abs-pois/time': 'itemabsorbpoisbytime',
	'gold%/time': 'itemfindgoldbytime',
	'mag%/time': 'itemfindmagicbytime',
	'regen-stam/time': 'itemregenstaminabytime',
	'stam/time': 'itemstaminabytime',
	'dmg-dem/time': 'itemdamagedemonbytime',
	'dmg-und/time': 'itemdamageundeadbytime',
	'att-dem/time': 'itemtohitdemonbytime',
	'att-und/time': 'itemtohitundeadbytime',
	'crush/time': 'itemcrushingblowbytime',
	'wounds/time': 'itemopenwoundsbytime',
	'kick/time': 'itemkickdamagebytime',
	'deadly/time': 'itemdeadlystrikebytime',
	'gems%/time': '0',
	'pierce-fire': 'passivefirepierce',
	'pierce-ltng': 'passiveltngpierce',
	'pierce-cold': 'passivecoldpierce',
	'pierce-pois': 'passivepoispierce',
	'dmg-mon': '0',
	'dmg%-mon': '0',
	'att-mon': '0',
	'att%-mon': '0',
	'ac-mon': '0',
	'ac%-mon': '0',
	'indestruct': 'itemindestructible',
	'charged': 'itemchargedskill',
	'extra-fire': 'passivefiremastery',
	'extra-ltng': 'passiveltngmastery',
	'extra-cold': 'passivecoldmastery',
	'extra-pois': 'passivepoismastery',
	'dmg-elem': 'firemindam',
	'dmg-elem-min': 'firemindam',
	'dmg-elem-max': 'firemaxdam',
	'all-stats': 'strength',
	'addxp': 'itemaddexperience',
	'heal-kill': 'itemhealafterkill',
	'cheap': 'itemreducedprices',
	'rip': 'itemrestinpeace',
	'att-mon%': 'attackvsmontype',
	'dmg-mon%': 'damagevsmontype',
	'kill-skill': 'itemskillonkill',
	'death-skill': 'itemskillondeath',
	'levelup-skill': 'itemskillonlevelup',
	'skill-rand': 'itemsingleskill',
	'fade': 'fade',
	'levelreq': 'itemlevelreq',
	'ethereal': '0',
	'oskill': 'itemnonclassskill',
	'state': 'state',
	'randclassskill': 'itemaddclassskills'
};